package agentRouter

import (
	"github.com/gin-gonic/gin"
	v1 "hc_server/routers/api/v1/agentV1"
)

func DeviceRouter(router *gin.RouterGroup) {
	router.POST("/model/add", v1.DeviceModelInfoAdd)            //添加设备类型
	router.POST("/add", v1.DeviceInfoAdd)                       //添加设备
	router.POST("/model/list", v1.DeviceModelInfoList)          //设备类型列表
	router.POST("/search", v1.DeviceInfoSearch)                 //设备类型搜索
	router.POST("/list", v1.DeviceInfoList)                     //设备列表
	router.POST("/info", v1.DeviceInfo)                         //设备详细
	router.POST("/allocate/list", v1.DeviceAllocateInfoList)    //可划拨设备列表
	router.POST("/recall/list", v1.DeviceRecallInfoList)        //可召回设备列表
	router.POST("/recall/agent/list", v1.DeviceRecallAgentList) //可召回设备代理列表
	router.POST("/list/search", v1.DeviceInfoListSearch)        //设备列表搜索
}
